<?php

/*
	* OpenGSP (c) 2011
	* Author(s): Christopher Martino
	* Module: modules.base.php
	* Updated: 01/04/2011
	* http://opengsp.com/
*/

class Modules_BASE
{
	public static $loaded_extensions;
	

	function __construct(/* NULL Parameters */)
	{
		self::$loaded_extensions = 0;
	
		foreach(glob("*.php") as $filename) 
		{
			self::loaded_extensions++;
		
			require_once("../Extensions/".$filename);
		}
	}
	
	
	public static function total_loaded(/* NULL Parameters */)
	{
		return self::$loaded_extensions;
	}
}
?>